﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master"  AutoEventWireup="true" CodeFile="ShowDetail.aspx.cs" Inherits="Performence_ShowDetail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div>
        &nbsp;<asp:Panel ID="Panel3" runat="server" Height="184px" Width="444px">
            <table style="width: 455px">
                <!--DWLayoutTable-->
                <tr>
                    <td colspan="4" style="height: 21px">
            <asp:Label ID="lblMessage" runat="server" Width="355px" Font-Bold="True" Font-Size="12pt" ForeColor="Red"></asp:Label><br />
                        <asp:Panel ID="panelState" runat="server" Height="22px" Visible="False" Width="420px">
                            &nbsp;<asp:Label ID="Label2" runat="server" Text="本业绩报告的当前状态是："></asp:Label>
                            <asp:Label ID="lblState" runat="server" Width="99px"></asp:Label></asp:Panel>
                    </td>
                </tr>
                <tr>
                    <td colspan="4" style="height: 21px">
                        本业绩报告的当前状态是：<asp:Label ID="Label4" runat="server" Text="Label" Width="93px"></asp:Label></td>
                </tr>
                <tr>
                    <td colspan="4" style="height: 21px">
                        对本季度目标的回顾：</td>
                </tr>
                <tr>
                    <td colspan="4" style="height: 259px">
                        <asp:GridView ID="grdLast" runat="server" AutoGenerateColumns="False" AutoGenerateEditButton="True"
                            BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px"
                            CellPadding="4" ForeColor="Black" GridLines="Vertical"
                            Width="493px" AllowPaging="True" AllowSorting="True" Font-Size="10pt" PageSize="8" >
                            <FooterStyle BackColor="#CCCC99" />
                            <Columns>
                                <asp:BoundField HeaderText="所设定的目标" DataField="ObjectContent" />
                                <asp:BoundField HeaderText="员工自评" DataField="SelfScore" />
                                <asp:BoundField HeaderText="经理评分" DataField="ReviewScore" />
                            </Columns>
                            <RowStyle BackColor="#F7F7DE" />
                            <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                            <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                            <AlternatingRowStyle BackColor="White" />
                        </asp:GridView>
                    </td>
                </tr>
                <tr>
                <td>
               
               <asp:Panel ID="Review" runat="server" Visible="False">
                <table>
                <tr>
                    <td colspan="4" style="height: 20px">
                        对本季度的总评：</td>
                </tr>
                <tr>
                    <td colspan="4" style="height: 26px">
                        <asp:TextBox ID="txtSelfComment" runat="server" Height="86px" Width="435px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td colspan="4">
                        经理总评：</td>
                </tr>
                <tr>
                    <td colspan="4" style="height: 29px">
                        <asp:TextBox ID="txtReviewComment" runat="server" Height="61px" Width="436px" Enabled="False"></asp:TextBox></td>
                </tr>
                <tr>
                    <td colspan="4" style="height: 21px">
                        员工自评分：<asp:DropDownList ID="cmbSelfScore" runat="server" Width="110px">
                            <asp:ListItem>0</asp:ListItem>
                            <asp:ListItem>1</asp:ListItem>
                            <asp:ListItem>2</asp:ListItem>
                            <asp:ListItem>3</asp:ListItem>
                            <asp:ListItem>4</asp:ListItem>
                            <asp:ListItem>5</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td colspan="4">
                        经理总评分：<asp:DropDownList ID="cmbReviewScore" runat="server" Width="110px" Enabled="False">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td align="center" colspan="3">
                        <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" /></td>
                   </tr>
                   </table>
                   </asp:Panel>
                   
                   
                   
                   </td> 
                    
                    <td style="width: 27px">
                    </td>
                </tr>
                </table>
                </asp:Panel>
                <asp:Panel ID="now" runat="server">
                <table>
                <tr>
                    <td colspan="4" style="height: 21px">
            设定下一季度的目标：</td>
                </tr>
                <tr>
                    <td colspan="4" style="height: 23px">
                        <asp:TextBox ID="txtNewObject" runat="server" Height="74px" Width="442px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td colspan="2" height="21" valign="top">
                        <asp:Button ID="Button6" runat="server" Text="添加" /></td>
                    <td colspan="2" valign="top">
                        <asp:Button ID="Button7" runat="server" Text="后退"  /></td>
                </tr>
            </table>
        </asp:Panel>
        <br />
        <asp:Panel ID="Panel4" runat="server" Height="184px" Visible="False" Width="444px">
            <table style="width: 455px">
                <!--DWLayoutTable-->
                <tr>
                    <td colspan="4" style="height: 20px">
                        下一季度已经设定的目标：</td>
                </tr>
                <tr>
                    <td colspan="4">
                        <asp:GridView ID="grdNext" runat="server" AutoGenerateColumns="False" AutoGenerateEditButton="True"
                            BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px"
                            CellPadding="4" ForeColor="Black" GridLines="Vertical"
                            Width="444px" AutoGenerateDeleteButton="True" AllowPaging="True" AllowSorting="True" Font-Size="10pt" PageSize="8">
                            <FooterStyle BackColor="#CCCC99" />
                            <Columns>
                                <asp:BoundField HeaderText="下一季度已经设定的目标" DataField="ObjectContent" />
                            </Columns>
                            <RowStyle BackColor="#F7F7DE" />
                            <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                            <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                            <AlternatingRowStyle BackColor="White" />
                        </asp:GridView>
                    </td>
                </tr>
                <tr>
                    <td colspan="4" rowspan="8">
                        </td>
                </tr>
                <tr>
                </tr>
                <tr>
                </tr>
                <tr>
                </tr>
                <tr>
                </tr>
                <tr>
                </tr>
                <tr>
                </tr>
                <tr>
                </tr>
            </table>
        </asp:Panel>
    
    </div>
</asp:Content>